export default {
    data() {
        return {
            currentPage1: 5,  // 当前页
            tableData: [{
                shopName: '好滋好味',  // 餐馆名称
                shopId: '1',  // 餐馆 ID
                address: '上海市普陀区真北路',  // 餐馆地址
                foodName: '鸡蛋仔',  // 食品名称
                foodId: '2',  // 食品 ID
                foodDesc: '荷兰优质淡奶，奶香浓而不腻',  // 食品说明
                category: '面条🍜',  // 食品分类
                fraction: '1.2',  // 食品评分
                volume: '999'  // 月销量
            }, {
                shopName: '好滋好味',
                shopId: '1',
                foodName: '鸡蛋仔',
                foodId: '2',
                foodDesc: '荷兰优质淡奶，奶香浓而不腻',
                category: '面条🍜',
                address: '上海市普陀区真北路',
                fraction: '1.2',
                volume: '999'
            }, {
                shopName: '好滋好味',
                shopId: '1',
                foodName: '鸡蛋仔',
                foodId: '2',
                foodDesc: '荷兰优质淡奶，奶香浓而不腻',
                category: '面条🍜',
                address: '上海市普陀区真北路',
                fraction: '1.2',
                volume: '999'
            }, {
                shopName: '好滋好味',
                shopId: '1',
                foodName: '鸡蛋仔',
                foodId: '2',
                foodDesc: '荷兰优质淡奶，奶香浓而不腻',
                category: '面条🍜',
                address: '上海市普陀区真北路',
                fraction: '1.2',
                volume: '999'
            }, {
                shopName: '好滋好味',
                shopId: '1',
                foodName: '鸡蛋仔',
                foodId: '2',
                foodDesc: '荷兰优质淡奶，奶香浓而不腻',
                category: '面条🍜',
                address: '上海市普陀区真北路',
                fraction: '1.2',
                volume: '999'
            }, {
                shopName: '好滋好味',
                shopId: '1',
                foodName: '鸡蛋仔',
                foodId: '2',
                foodDesc: '荷兰优质淡奶，奶香浓而不腻',
                category: '面条🍜',
                address: '上海市普陀区真北路',
                fraction: '1.2',
                volume: '999'
            }, {
                shopName: '好滋好味',
                shopId: '1',
                foodName: '鸡蛋仔',
                foodId: '2',
                foodDesc: '荷兰优质淡奶，奶香浓而不腻',
                category: '面条🍜',
                address: '上海市普陀区真北路',
                fraction: '1.2',
                volume: '999'
            }, {
                shopName: '好滋好味',
                shopId: '1',
                foodName: '鸡蛋仔',
                foodId: '2',
                foodDesc: '荷兰优质淡奶，奶香浓而不腻',
                category: '面条🍜',
                address: '上海市普陀区真北路',
                fraction: '1.2',
                volume: '999'
            }, {
                shopName: '好滋好味',
                shopId: '1',
                foodName: '鸡蛋仔',
                foodId: '2',
                foodDesc: '荷兰优质淡奶，奶香浓而不腻',
                category: '面条🍜',
                address: '上海市普陀区真北路',
                fraction: '1.2',
                volume: '999'
            }]
        }
    },
    methods: {
        // 每页数量
        handleSizeChange(val) { },
        // 当前页数
        handleCurrentChange(val) { },
        // 表格内容编辑
        handleEdit(a, b) { },
        // 表格内容删除
        handleDelete(a, b) { },
        // 跳转至首页
        goToIndex() { this.$router.push({ path: '/Main/index' }) },
        // 退出登录
        LogOUt() { this.$router.push({ path: '/' }) }
    },
}